RegularPolygon Class

Represents a regular polygon. A regular polygon is a polygon that is specified by its number of edges (that is equal to the number of its corners), rather than by arbitrary points.

Definition

Namespace: Independentsoft.Office.Odf.Drawing
Assembly: Independentsoft.Office (in Independentsoft.Office.dll) Version: 3.0.460.1+37fe42d8e65847775742df0a70fdb403ab6fa65f
C#
public class RegularPolygon : Shape
Inheritance
Object    Shape    RegularPolygon

Constructors

RegularPolygon Initializes a new instance of the RegularPolygon class.

Properties

Content Contains a collection of IDrawText objects.
CornerCount Specifies the number of polygon corners on a polygon shape.
EventListeners Contains an attachment of an event listener to a drawing shape.
GluePoints Contains the designated point in the area of a drawing object to which a connector shape can connect.
Height
(Inherited from Shape)
ID
(Inherited from Shape)
IsConcave Specifies whether a regular polygon is convex or concave. The defined values are: - false: polygon is convex. - true: polygon is concave.
Layer
(Inherited from Shape)
Name
(Inherited from Shape)
RelativeHeight Contains height of a drawing object as a relative value within a frame.
RelativeWidth Contains width of a drawing object as a relative value within a frame.
Style
(Inherited from Shape)
TextStyle
(Inherited from Shape)
Transform
(Inherited from Shape)
Width
(Inherited from Shape)
X
(Inherited from Shape)
Y
(Inherited from Shape)
ZIndex
(Inherited from Shape)

Methods

Add(IDrawText) Adds a IDrawText object to the content.
Add(List) Adds a List object to the content.
Add(Paragraph) Adds a Paragraph object to the content.
Clone Creates a new object that is a deep copy of the current instance.
Equals
(Inherited from Object)
Finalize
(Inherited from Object)
GetContentElements Returns all content elements.
(Overrides ShapeGetContentElements)
GetHashCode
(Inherited from Object)
GetParent Returns the parent element.
(Overrides ShapeGetParent)
GetType
(Inherited from Object)
MemberwiseClone
(Inherited from Object)
ToString Converts the value of the current RegularPolygon object to its equivalent string representation.
(Overrides ObjectToString)

See Also